|
poziția meniului |
---|
Arch → Rebar tools |
Ateliere |
Arch, BIM |
scurtătură |
Nici unul |
Prezentat în versiune |
0.17 |
A se vedea, de asemenea, |
Bent Rebar, Rebar |
Instrumentul LShape Rebar permite utilizatorului să creeze o armătură LShape reinforcing bar în elementele structurale.
This tool is part of the Reinforcement Workbench, an external workbench that can be installed with the Addon Manager.
Task panel for the tool
See also: Arch API, Reinforcement API and FreeCAD Scripting Basics.
The LShape Rebar tool can by used in macros and from the python console by using the following function:
Rebar = makeLShapeRebar(f_cover, b_cover, l_cover, r_cover,
diameter, t_cover, rounding, amount_spacing_check, amount_spacing_value, orientation="Bottom Left",
structure=None, facename=None):
import FreeCAD, Arch, LShapeRebar
Structure = Arch.makeStructure(length=1000, width=1000, height=400)
Structure.ViewObject.Transparency = 80
FreeCAD.ActiveDocument.recompute()
Rebar = LShapeRebar.makeLShapeRebar(50, 20, 20, 20,
8, 50, 4, True, 6, "Bottom Left", Structure, "Face4")
Rebar.ViewObject.ShapeColor = (0.9, 0.0, 0.0)
Rebar2 = LShapeRebar.makeLShapeRebar(50, 50, 20, 20,
8, 50, 4, True, 6, "Bottom Left", Structure, "Face6")
Rebar2.ViewObject.ShapeColor = (0.0, 0.0, 0.9)
You can change the properties of the rebar with the following function:
editLShapeRebar(Rebar, f_cover, b_cover, l_cover, r_cover,
diameter, t_cover, rounding, amount_spacing_check, amount_spacing_value, orientation,
structure=None, facename=None)
Rebar
is a previously created LShapeRebar
object.makeLShapeRebar()
function.structure
and facename
may be omitted so that the rebar stays in the original structure.import LShapeRebar
LShapeRebar.editLShapeRebar(Rebar, 50, 50, 20, 20,
12, 50, 6, True, 5, "Top Right")
LShapeRebar.editLShapeRebar(Rebar2, 50, 50, 20, 20,
12, 70, 6, True, 5, "Top Right")